package com.foton.bpc.all.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author RenPu
 * @Date 2023/6/5 17:11
 * @Version 1.0
 * @Description: 协议配置对象
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProtocolConfig {
   private String name;

    /**
     * 端口
     */
    private String port;

    /**
     * host：ip地址
     */
    private String host;

    /**
     * 序列化配置
     */
    private String serialization;


    /**
     * 网络底层技术选择：Netty or Mina
     */
    private String transport;

}
